axios({
    method: "get",
    url: "http://127.0.0.1:8400/goShopping",
}).then(response => {
    let user = response.data;
    if (user != false) {
        $("#id").html(user.admin);
        axios({
            method: "get",
            url: "http://127.0.0.1:8400/money_site"
        }).then(response => {
            let bool = response.data;
            $(".price").html(bool.price);
            $(".address").html(`收货人：${bool.userName} 收货地址：${bool.detailed}  手机号：${bool.number}`);
            console.log(response.data);
        })
    }
})

function submit_btn() {
    alert("支付成功");
    window.location = "./homepage.html";
}